class GdsMsg {
  String gdsMsgId;
  String goodsId;
  String userId;
  String userName;
  String imgUrl;
  String content;
  String createAt;

  GdsMsg(
      {this.gdsMsgId,
        this.goodsId,
        this.userId,
        this.userName,
        this.imgUrl,
        this.content,
        this.createAt});

  GdsMsg.fromJson(Map<String, dynamic> json) {
    gdsMsgId = json['gdsMsgId'];
    goodsId = json['goodsId'];
    userId = json['userId'];
    userName = json['userName'];
    imgUrl = json['imgUrl'];
    content = json['content'];
    createAt = json['createAt'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['gdsMsgId'] = this.gdsMsgId;
    data['goodsId'] = this.goodsId;
    data['userId'] = this.userId;
    data['userName'] = this.userName;
    data['imgUrl'] = this.imgUrl;
    data['content'] = this.content;
    data['createAt'] = this.createAt;
    return data;
  }
}
